package booking;

import java.util.List;

/**
 * Created by James.Owen on 08/02/14.
 */
public class BookingViewAdapter {

    public String getNumberOfChildrenText(Double numberOfChildren){
        String numberOfChildrenText = String.valueOf(numberOfChildren);
        if(numberOfChildrenText.contains(".0")){
            numberOfChildrenText = numberOfChildrenText.replace(".0","");
        }
        return numberOfChildrenText;
    }

    public String getCostOfChildrenText(Double costOfChildren){
        String costOfChildrenText = String.valueOf(costOfChildren);
        return costOfChildrenText.concat("0");
    }

    public String getTotalCostText(Double totalCost){
        String totalCostText = String.valueOf(totalCost);
        return totalCostText.concat("0");
    }

    public String getPartyBagsCostText(Double partyBagsCost){
        String partyBagsCostText = String.valueOf(partyBagsCost);
        return partyBagsCostText.concat("0");
    }

    public String getPartyPackageCostText(Double partyPackageCost){
        String partyPackageCostText = String.valueOf(partyPackageCost);
        return partyPackageCostText.concat("0");
    }

    public String getCostOfPlatters(Double costOfPlatters){
        String costOfPlattersText = String.valueOf(costOfPlatters);
        return costOfPlattersText.concat("0");
    }
}

//public Booking withParameters(List<>)
